The JS section is like this:
Copy Code code as follows:
Picture Upload Preview Plugin ************************
Author: iddqd (2009-07-01)
Email:iddqd5376@163.com
Http://blog.sina.com.cn/iddqd
Version: 1.0
Description: Picture upload Preview Plugin
When uploading, you can generate a proportional sca
case of absolute or relative positioning. And here, No.
So use the way to change the Margin-top margin-left value.
Three, move the formula
Above: Black: Picture, White: Selection, Red: Starting point, green: the horizontal ordinate value of the starting point; Yellow: Margin-top,margin-left of the right picture
Suppose: The picture on the left and the right picture are the same size, width and height. I want to display on the right side of the white area of the
This article mainly introduces the jquery plug-in jcrop+fileapi perfect picture upload + cropping + Preview code, very simple and practical, the effect is also very good, the need for small partners can refer to.
Web page to crop pictures, do not need to go through the server.
This is accomplished with the Https://github.com/mailru/FileAPI framework. cooperate with Jcrop.
Advanced browsers use canvas cro
-drop operations.
The following describes how to obtain the FileList object:
2. Blob Object
A Blob Object is a class file object that contains read-only raw data. data in Blob objects is not necessarily in the native form of JavaScript. the File interface is based on Blob, inherits the Blob function, and supports the extension of local files on the user's computer.
The object URL we want to obtain is actually obtained from the Blob object, because the File interface inherits Blob. The followin
Image cropping and asynchronous upload Plugin-one-step (recording) and one-step asynchronous upload
The Image Upload and cropping function can be seen everywhere. Some users write it by themselves, but it takes too much time. The
Http://tpl.9iphp.com/146.htmlHTML5 implementation of Image upload preview functionhttp://www.dropzonejs.com/Image upload Preview.http://segmentfault.com/a/1190000000754560HTML5 local crop image and upload to server (old terrier)ht
The original upload multi-image files, you need to select a file, and then click Batch upload, more trouble. So the Empire CMS7.2 added a multi-image upload plugin: For the use of flash mode to achieve simultaneous selection of mu
PrefaceThe development process sometimes requires users to upload image information in the previous paragraph, we can usually use the form tag settings enctype= "Multipart/form-data" Property upload image, when we click the Submit button, the picture information will be automatically saved in the predefined variables $
In the daily project, often in the background need to upload pictures and other resource files, before using this component a few times, feel very useful, but every time you use the need to go through a review, so it is better to remember here, after the use of the time to turn over. His official website is as follows: http://www.uploadify.com/ Plugin: http://www.uploadify.com/download Description Document:
jquery file Upload is a jquery document upload component that supports multiple file uploads, cancellations, deletions, pre-upload thumbnail previews, list display image sizes, support for upl
TINY_MCE Editor, I think very concise, easy to use, but is the picture upload plug-in is charged, and online for half a day did not find open source good upload plugin. But Kung fu is not a conscientious, and finally I found a quite satisfied with the plug-in. This plugin is named Ajaxfilemanager. The official site is
effect to display images or any HTML pages. You do not need to enable the page to load images. The effect is also available on the official website of Apple Mac.
FancyZoom
Jcrop
Jcrop is a cross-browser jQuery image cutting plug-in (JQuery image crop plugin). You can add a
File uploads are one of the most common features of a Web site, and using jQuery allows you to make the upload process more humane and a better user experience. This article describes 20 jquery file upload Plug-ins, some of which are tutorials.
1. Plupload
Plupload is an interface-friendly file
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.